package dz.chuxin.framework.widget.rowview;

/**
 * Created by chuxin on 2016/7/17.
 */
public class NormalRowDescriptor extends BaseRowDescriptor {

    private int iconResource;
    private String rowLabel;


    public NormalRowDescriptor(int rowId, int iconResource, String rowLabel) {
        super(rowId);
        this.iconResource = iconResource;
        this.rowLabel = rowLabel;
    }

    public NormalRowDescriptor(int rowId, String rowLabel) {
        super(rowId);
        this.rowLabel = rowLabel;
    }

    public NormalRowDescriptor(int rowId, boolean isClickEnable, int iconResource, String rowLabel) {
        super(rowId, isClickEnable);
        this.iconResource = iconResource;
        this.rowLabel = rowLabel;
    }

    public NormalRowDescriptor(int rowId, boolean isClickEnable, int iconResource, String rowLabel, int verticalPadding,
                               int horizontalPadding) {
        super(rowId, isClickEnable, verticalPadding, horizontalPadding);
        this.iconResource = iconResource;
        this.rowLabel = rowLabel;
    }

    public int getIconResource() {
        return iconResource;
    }

    public String getRowLabel() {
        return rowLabel;
    }
}
